package com.infore.dataAudit.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;


/**
 * The persistent class for the T_EVIDENCE_FILE database table.
 * 
 */
@Entity
@Table(name="T_EVIDENCE_FILE")
@NamedQuery(name="TEvidenceFile.findAll", query="SELECT t FROM TEvidenceFile t")
public class TEvidenceFile implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ID")
    @GeneratedValue(generator = "uuidGenerator")
    @GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String id;

	@Column(name="AUDIT_DATA_ID")
	private String auditDataId; //改变成流程id

	@Column(name="CREATE_NAME")
	private String createName;

	@Column(name="CREATE_TIME")
	private Date createTime;

	@Column(name="FILE_NAME")
	private String fileName;

	@Column(name="FILE_PATH")
	private String filePath;

	@Column(name="FILE_SIZE")
	private Long fileSize;

	public TEvidenceFile() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAuditDataId() {
		return this.auditDataId;
	}

	public void setAuditDataId(String auditDataId) {
		this.auditDataId = auditDataId;
	}

	public String getCreateName() {
		return this.createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return this.filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public Long getFileSize() {
		return this.fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

}